package com.thirteen.app.service.impl;

import com.thirteen.app.dao.QuestionTypeQuestionDao;
import com.thirteen.app.entity.QuestionTypeQuestion;
import com.thirteen.app.service.QuestionTypeQuestionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 题目类型关联题目(Questiontypequestion)表服务实现类
 *
 * @author 郑清林
 * @since 2021-09-06 14:20:44
 */
@Service("questiontypequestionService")
public class QuestionTypeQuestionServiceImpl implements QuestionTypeQuestionService {
    @Resource
    private QuestionTypeQuestionDao questiontypequestionDao;

    /**
     * 新增数据
     *
     * @param questiontypequestion 实例对象
     * @return 实例对象
     */
    @Override
    public QuestionTypeQuestion insert(QuestionTypeQuestion questiontypequestion) {
        this.questiontypequestionDao.insert(questiontypequestion);
        return questiontypequestion;
    }

}
